package com.alks.function.data.request.factorywork;

import com.alks.entity.data.page.PageParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

//TODO 核检标志和审核标志
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "查询-外发工艺-入参")
public class PcOutListPriceRequest extends PageParam {
    @ApiModelProperty(value = "指令ID", required = false)
    private String lotNo;

    //添加部位搜索
    private String partName;

    @ApiModelProperty(value = "型体", required = false)
    private String style;

    @ApiModelProperty(value = "工艺", required = false)
    private String process;

    @ApiModelProperty(value = "负责厂商", required = false)
    private String vendor;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "起始时间", required = false)
    private Date startSysDate;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "结束时间", required = false)
    private Date endSysDate;

    @ApiModelProperty(value = "审核标志位(0-未审核，1-已审核 默认全部)", required = false)
    private Integer flag;

    @ApiModelProperty("冲裁工序")
    private Integer process1;

    @ApiModelProperty("手工工序")
    private Integer process2;

    @ApiModelProperty("外发工序")
    private Integer process3;

    private String companyId;
}